package top.codedance.iotp.simulator.serialPort.urs.simple;

import top.codedance.iotp.common.util.BytesBuilder;
import top.codedance.iotp.simulator.serialPort.srs.Simulator;

import java.util.ArrayList;
import java.util.List;

//回环测试
public class Loop implements Simulator {

    @Override
    public List<BytesBuilder> exec(byte[] cmd) {
        List<BytesBuilder> results = new ArrayList<>();
        BytesBuilder bb = new BytesBuilder();
        bb.append(cmd);
        results.add(bb);
        return results;
    }
}
